package com.jinbei.service;

import com.jinbei.domain.UserGold;

import java.util.List;

/**
 * @author zflu
 * 用户充值元宝 service
 * Created by lucky on 2018/9/17.
 */
public interface UserGoldService {

    /**
     * @author zflu
     * @Description   用户充值元宝记录批量新增
     * @date 2018/9/17 16:27
     * @param userGolds
     * @return int
     */
    int insertUserGoldList(List<UserGold> userGolds) throws Exception;

    /**
     * @author zflu
     * @Description  删除用户充值元宝记录，根据订单id
     * @date 2018/9/17 16:57
     * @param payId
     * @return int
     */
    int deleteUserGoldByPayId(Integer payId) throws Exception;

    /**
     * @author zflu
     * @Description  查询用户充值元宝记录列表
     * @date 2018/9/17 17:04
     * @param payId
     * @return java.util.List<com.jinbei.domain.UserGold>
     */
    List<UserGold> queryUserGoldList(Integer payId) throws Exception;
}
